/**
 * Tag 组件的主题配置
 */

import type { ComponentToken } from 'antd/es/tag/style';

export const tagThemeConfig: Partial<ComponentToken> = {
  defaultBg: '#fafafa',
  defaultColor: '#1a1a1a' as any,
};

export const getTagTheme = (
  customConfig?: Partial<ComponentToken>
): Partial<ComponentToken> => {
  return {
    ...tagThemeConfig,
    ...customConfig,
  };
};

export type { ComponentToken as TagComponentToken } from 'antd/es/tag/style';

